package com.wocao.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigInteger;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 投诉建议 
 * </p>
 *
 * @author cwj
 * @since 2023-11-29
 */
@Getter
@Setter
@TableName("zy_complaint_suggest")
public class ZyComplaintSuggest implements Serializable {

    /**
     * id
     */
    @ExcelProperty("ID")
    @ColumnWidth(25)
    @TableId("complaint_suggest_id")
    private String complaintSuggestId;

    /**
     * 小区id
     */
    @ExcelProperty("小区ID")
    @ColumnWidth(20)
    private String communityId;

    /**
     * 类型(投诉、建议)
     */
    @ExcelProperty("类型")
    private String complaintSuggestType;

    /**
     * 内容
     */
    @ExcelProperty("内容")
    private String complaintSuggestContent;

    /**
     * 创建者
     */
    @ExcelProperty("创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

    /**
     * 更新者
     */
    @ExcelProperty("更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @ExcelProperty("修改时间")
    @ColumnWidth(20)
    private LocalDateTime updateTime;

    /**
     * 备注
     */
    @ExcelProperty("备注")
    private String remark;

    //投诉图片
    @ExcelIgnore
    private String complaintImgs;

    /**
     * 投诉人ID
     */
    @ExcelProperty("投诉人ID")
    private String userId;

    //投诉状态
    private String complaintStatus;

    @ExcelIgnore
    @TableField(exist = false)
    private String ownerName;   //业主真实姓名

    @ExcelIgnore
    @TableField(exist = false)
    private String ownerPhone;  //业主电话

    @ExcelIgnore
    @TableField(exist = false)
    private String ownerPort;   //业主头像
}
